package gamecomponents.settings;

import java.awt.Cursor;
import java.awt.Point;
import java.awt.Toolkit;
import java.awt.image.MemoryImageSource;

import com.threed.jpct.SimpleVector;

/**
 * Data holder for game settings.
 * @author Team Deer
 *
 */
public class GameSettings {
	
	/**
	 * Maximum speed of a player.
	 */
	public static final float PLAYER_MAX_SPEED = 5.2f / 6f;
	
	/**
	 * Milliseconds/update
	 */
	public static final int MS_PER_FRAME = 1000 / 30;
	
	/**
	 * Screen size...
	 */
	public static final SimpleVector SCREEN_SIZE = new SimpleVector(Toolkit
			.getDefaultToolkit().getScreenSize().width, Toolkit
			.getDefaultToolkit().getScreenSize().height, 0);;

	/**
	 * The transparent cursor used in-game
	 */
	public static final Cursor transparentCursor = Toolkit
			.getDefaultToolkit()
			.createCustomCursor(
					Toolkit.getDefaultToolkit().createImage(
							new MemoryImageSource(16, 16, new int[256], 0, 16)),
					new Point(0, 0), "invisibleCursor");

}
